package com.itaem.community.modules.complaint.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.itaem.community.core.entity.Entity;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 投诉
 * </p>
 *
 * @author tomato
 * @since 2020-10-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("complaint")
@ApiModel(value="ComplaintEntity对象", description="投诉")
public class ComplaintEntity extends Entity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "投诉内容")
    private String complaintContent;

    @ApiModelProperty(value = "物业公司id")
    private Integer propertyId;

    @ApiModelProperty(value = "工作人员id")
    private Integer workerId;

    @ApiModelProperty(value = "工作人员名")
    private String workerName;

    @ApiModelProperty(value = "投诉时间")
    private LocalDate complaintTime;

    @ApiModelProperty(value = "逻辑删除")
    private Boolean deleted;


}
